High performance digital loop diagnostic technology

ABSTRACT

Methods and associated hub arrangements are described for use in diagnosis and recovery in high performance digital loops such as, for example, those seen in Fibre Channel systems. In one system having a hub configured for interconnection of a plurality of stations as part of a digital system such that digital data flows between the stations based on operational status of the system, an arrangement forms part of the hub which arrangement is connectable at points within the hub and between at least two different pairs of the stations for monitoring certain characteristics of the data in a way which provides for non-invasive identification of one or more conditions related to the operational status of the system.

BACKGROUND OF THE INVENTION

[0001] The present invention relates generally to the field of digital loop technology utilizing a hub structure and, more particularly, to the field of diagnosis and recovery using a hub in high performance digital loops such as, for example, those hubs seen in Fibre Channel systems.

[0002] The value of the digital loop in high performance systems such as Fibre Channel is without question. Moreover, the use of such a loop has proven to be enhanced through the use of a hub which serves as a central connection point for the loop. In such a configuration, the loop is said to be in the form of a “star”. Initial development of hubs saw what may be referred to as an unmanaged or “dumb” hub. As these terms indicate, such hubs served much in the manner of a patch panel, devoid of any monitoring capability as to the data passing through the hub.

[0003] Still considering the hub technology of the prior art, attention is now directed to FIG. 1 which illustrates a more recent digital system generally indicated by the reference numeral 10. System 10 includes a Fibre Channel hub 12 serving to interconnect a loop 14 including a plurality of stations S1-S4. System 10 further includes a local network (LAN) 16 having independent connections 17 a and 17 b with stations S1 and S2, respectively. LAN 16 further includes a station S5 as well as a work station (WS) 18. Unlike the earlier generation of hubs described above, hub 12 includes limited diagnostic capabilities. These capabilities have generally been limited to high level observation of the data traveling around the loop. More specifically, these prior art diagnostic capabilities may indicate that certain packets of data are corrupted in addition to indicating the point of origination of the corrupted data. At first blush, this may seem to be extremely useful information for purposes of diagnosis. One must remember, however, that the corrupted data may have traveled through a substantial number of stations between it's point of origin and it's destination. For example, data originating from S2 and destined for S1 on the loop must intermediately pass through stations S3 and S4. Therefore, it is possible for the data to have been corrupted at any point along this path. An unsuspecting system administrator who immediately assumes that S2 is responsible for the corrupted data can waste enormous effort in attempting to diagnose a problem which may occur anywhere along the loop between S2 and S1.

[0004] Still referring to FIG. 1, in attempting to perform a detailed diagnosis, a technician may utilize a logic or protocol analyzer 20. S2 and hub 12 are originally connected using cable 22. The analyzer may be connected by disconnecting the original cable 22 at one end and then reconnecting the disconnected end to the analyzer such that original cable 22 is represented as a dashed line indicated by the reference number 22 a and an additional cable 24 is used to connect the analyzer with S2. Assuming the problem is not being caused by S2, the technician has little hope of resolving the problem using the analyzer as depicted. Thus, the use of an analyzer in such a scenario is disadvantageous. Moreover, as another disadvantage, it is important to note that the use of the analyzer is intrusive. That is, connection of the analyzer itself modifies the structure of the loop. This fact can cause severe complications in some cases. For example, if the problem is being caused by a loose connector (not shown) at S3, connection of the analyzer may make the problem disappear if the output signal of the analyzer is greater than the output signal of S2 whereby to overcome attenuation being caused by the loose connector at S3. In this scenario, a reasonable technician may assume that the problem has somehow corrected itself, since the analyzer will indicate that there are no errors. Unfortunately, however, as soon as the original connections are restored, the masked problem will return. The technician is then likely to remain suspicious of S2, replacing it and its associated connections and is also likely to suspect fiber 22. As can be appreciated, this disadvantageous hit or miss technique is likely to be a long process. Moreover, each time a connection is disturbed to insert the analyzer, the loop is taken out of service. The process can also be expensive just due to replacement of any number of perfectly good, but suspect components.

[0005] Continuing to consider the use of an analyzer, it should also be appreciated that analyzer diagnosis is further complicated by the fact that the analyzer is generally configured to monitor only one or two points. This is an important consideration since the loop, unlike LAN 16, is not a broadcast medium. That is, the data present between different pairs of stations on loop 14 is itself different since the stations themselves insert and remove data from the loop. Just through the use of an analyzer, it is very difficult to gain a complete “picture” of what is going on in the loop which may, in fact, represent the only way in which a particular problem may be understood. Not only is the analyzer ineffective in many cases, it is also typically expensive. It is not uncommon for a Fibre Channel analyzer to cost $45,000.

[0006] The present invention provides a highly advantageous arrangement and associated method which resolves the foregoing disadvantages and difficulties while providing still further advantages, as will be seen hereinafter.

SUMMARY OF THE INVENTION

[0007] As will be described in more detail hereinafter, there are disclosed herein methods and associated hub arrangements for use in diagnosis and recovery in high performance digital loops such as, for example, those seen in Fibre Channel systems. Accordingly, within a hub configured for interconnection of a plurality of stations as part of a digital system such that digital data flows between the stations based on operational status of the system, an arrangement forms part of the hub which arrangement is connectable at points within the hub and between at least two different pairs of the stations for monitoring certain characteristics of the data in a way which provides for non-invasive identification of one or more conditions related to the operational status of the system.

[0008] In one aspect of the invention, recovery from a condition which is adverse to the operation of the system is initiated based on identification of the adverse condition.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The present invention may be understood by reference to the following detailed description taken in conjunction with the drawings briefly described below.

[0010]FIG. 1 is a block diagram illustrating a digital system including a prior art Fibre Channel hub and a prior art analyzer used with the hub.

[0011]FIG. 2 is a diagrammatic block diagram of a digital system in the form of a loop which is defined using a hub manufactured in accordance with the present invention in an implementation which utilizes a fixed diagnostic unit and a roving diagnostic unit.

[0012]FIG. 3 is a block diagram illustrating the system of FIG. 2 shown here to illustrate further details of construction of the hub in accordance with the present invention.

[0013]FIG. 4 is a schematic in block diagram form shown here to illustrate one implementation of an integrated port control circuit manufactured in accordance with the present invention and used in the system shown in FIGS. 2 and 3.

[0014]FIG. 5 is a partial cut-away view of the system of FIG. 3 in block diagram form shown here to illustrate monitoring in accordance with the present invention using the roving diagnostics unit.

[0015]FIG. 6 is another partial cut-away view of the system of FIG. 3 in block diagram form shown here to illustrate other aspects of monitoring in accordance with the present invention using the roving diagnostics unit.

[0016]FIG. 7 is still another partial cut-away view of the system of FIG. 3 in block diagram form shown here to illustrate an initialization procedure performed in accordance with the present invention.

[0017]FIG. 8 is a partial cut-away view in block diagram form of the system shown in FIG. 3 shown here for purposes of illustrating another initialization procedure performed in accordance with the present invention.

[0018]FIG. 9 is a diagrammatic illustration of the possible physical appearance of a port connection panel of a hub manufactured in accordance with the present invention shown here to illustrate features incorporated into the hub.

[0019]FIG. 10 is a diagrammatic illustration of a display screen showing a site management view in accordance with the present invention.

[0020]FIG. 11 is a diagrammatic illustration of display screen showing a stack view in accordance with the present invention which is obtained by selection in the site management view of FIG. 10.

[0021]FIG. 12 is a diagrammatic illustration of display screen showing a hub view associated with one of the hubs shown in FIG. 10.

[0022]FIG. 13 is a diagrammatic illustration of display screen showing a port detail screen that appears through selection of one of the ports in FIG. 12 and which provides information and control facilities for the selected port.

[0023]FIG. 14 is a diagrammatic illustration of display screen showing a hub sweep view in accordance with the present invention that appears through selection of a logo in FIG. 12 and which provides detailed information for each port in a single view.

[0024]FIG. 15 is a diagrammatic illustration of display screen showing a per port diagnostic screen in accordance with the present invention.

[0025]FIG. 16 is a partial cut-away view in block diagram form of the system shown in FIG. 3 shown here for purposes of illustrating full path end-to-end verification performed in accordance with the present invention on a lobe attached to the hub.

[0026]FIG. 17 is a diagrammatic illustration in block diagram form of a Fibre Channel system including a hub manufactured in accordance with the present invention for use in describing a number of highly advantageous features of the present invention including features relating to diagnostics for evaluation of remote, unmanaged devices.

[0027]FIG. 18 is a diagrammatic illustration of a data management arrangement implemented on a host system including a method used in the host system for collecting data, evaluating the data and providing indications based thereon in accordance with the present invention.

[0028]FIG. 19 is a diagrammatic illustration in block diagram form of a Fibre Channel system including two hubs manufactured in accordance with the present invention for use in describing topology mapping performed in accordance with the present invention.

[0029]FIG. 20 is a diagrammatic illustration in block diagram form of a Fibre Channel system including two hubs at least one of which is manufactured in accordance with the present invention for use in describing hot cascading performed in accordance with the present invention.

[0030]FIG. 21 is a flow diagram illustrating a first hot cascading method performed in accordance with the present invention on the system of FIG. 20.

[0031]FIG. 22 is a flow diagram illustrating a second hot cascading method performed in accordance with the present invention on the system of FIG. 20.

[0032]FIG. 23 is a diagrammatic illustration of an integrated port control circuit manufactured in accordance with the present invention shown here to illustrate the pin out of the integrated circuit.

[0033]FIG. 24 is a diagram illustrating the hierarchical presentation of display views used by the present invention.

[0034]FIG. 25 is a display view showing a Loop View having a tree type structure.

[0035]FIG. 26 illustrates a display similar to the display depicted by FIG. 12, however, a Hub View corresponding to Stack 2, Hub 1 is shown.

[0036]FIG. 27 illustrates a display similar to the display depicted by FIG. 12, however, a Hub View corresponding to Stack 2, Hub 3 is shown.

[0037]FIG. 28 illustrates the display of a management view.

[0038]FIG. 29 illustrates the display of a hardware debug view for use in system diagnosis in accordance with the present invention shown here to illustrate the appearance of a “Ports” tab screen.

[0039]FIG. 30 illustrates the display of the hardware debug view of FIG. 29, however, a “Hub” tab has been selected illustrating the appearance of the Hub tab screen.

[0040]FIG. 31 illustrates the display of the hardware debug view of FIG. 29, however, a “Loop” tab has been selected illustrating the appearance of the Loop tab screen.

[0041]FIG. 32 illustrates the display of the hardware debug view of FIG. 29, however, a “Stack” tab has been selected illustrating the appearance of the Stack tab screen.

[0042]FIG. 33 illustrates the display of the hardware debug view of FIG. 29, however, an “Agent” tab has been selected illustrating the appearance of the Agent tab screen.

[0043]FIG. 34 is a chart illustrating the data object composition of objects as used by the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0044] Attention is immediately directed to FIG. 2 which illustrates a digital system generally indicated by the reference numeral 100 including a hub 102 which is manufactured in accordance with the present invention. It is noted that like reference numbers are used throughout the various figures to refer to like components wherever possible. System 100 includes a main loop 104 which uses Fibre Channel protocol. However, it should be appreciated that loops which employ other protocols such as, for example, Token Ring and Fibre Distributed Data Interface (FDDI) may benefit from the teachings herein. Loop 104 interconnects stations S1 and S2 such that digital data in accordance with Fibre Channel protocol standards flows around the loop in the direction indicated by a number of arrowheads. Only two stations are illustrated as being interconnected by loop 104 for purposes of simplicity. Hubs, such as hub 102 are configured with ports by which stations such as S1 and S2 may be connected with loop 104. In the present example, port 1 is used to connect S1 while port 2 is used to connect S2. While the loop typically uses a fiber optic cable to conduct the digital data, the link between a particular port and associated station is not necessarily comprised of a pair of fiber optic cables. Accordingly, different forms of adapters (not shown) may be inserted into the ports, as will be described in further detail at an appropriate point below. It should also be mentioned the interconnection or link between each station and the hub is illustrated as being quite short in the present figure for illustrative purposes only and, in fact, the link may be quite long. Moreover, each station, including its interconnection with the hub and aforedescribed adapter, may be referred to as a lobe on the loop.

[0045] Still referring to FIG. 2, in accordance with the present invention, hub 102 includes a first embodiment of a highly advantageous diagnostics arrangement generally indicated by the reference number 106. Arrangement 106 is made up of a Fixed Diagnostics Unit (FDU) 108 and a Roving Diagnostic Unit (RDU) 110. It should be appreciated that the FDU and RDU may be configured in a number of different ways in view of this overall disclosure. In FIG. 2, FDU 108 is illustrated in a form which allows it to listen to the digital data flowing around loop 104 at a single point 112 on the loop. RDU 110 is illustrated in a functional manner. That is, RDU 110, in the present embodiment, is shown as being connected with port 1 via a pair of dashed lines 114; However, in this embodiment, the RDU may be commutated selectively between the various ports as indicated by an arrow 116. As shown, the RDU is connected in such a manner as to listen to the data present at a port output point 118. By the term “listen”, non-intrusive monitoring is meant. That is, data present at the point being monitored is observed, but operation of the system is not affected in any way. In view of the foregoing discussions related to FIG. 1 and specifically considering the use of an analyzer, it should be appreciated that the configuration of diagnostic arrangement 106 is highly advantageous. For the moment, it is sufficient to say that the advantages provided by this arrangement primarily derive from the ability to listen at a plurality of points distributed around loop 104. Furthermore, arrangement 106 is considered to be highly advantageous due to the fact that information is obtained and gathered at one location (i.e., within the hub) from all of the monitored points. In this manner, by using features of the RDU and FDU to be described, diagnosis may be performed in view of the system as a whole. Applicants are unaware of this capability heretofore. As mentioned above, loop 104 may have different data present at any of the points between different pairs of the stations distributed around the loop. Therefore, it has been extremely difficult in the past to gain a full understanding of problems such as those described with regard to FIG. 1. The present invention serves to alleviate these problems by initially recognizing the need for collection of data from points distributed around the loop and, thereafter, subjecting this data to analysis.

[0046] Referring now to FIG. 3 in conjunction with FIG. 2 and having discussed several basic concepts of the present invention from a conceptual standpoint with regard to the first embodiment of the present invention using hub 102, a specific implementation of hub 102 will be described as depicted in FIG. 3. For purposes of clarity, hub 102 remains connected with stations S1 and S2 as is also shown in FIG. 2. For reasons which will become evident, this hub implementation will be referred to hereinafter as the diagnostic loop or inner loop configuration. Accordingly, the diagnostic loop configuration of hub 102 includes a highly advantageous diagnostic loop 130 which is submitted to be unknown heretofore. It should be noted that digital data traveling on the diagnostic loop travels in a direction which opposes the direction that data travels on main loop 104 for reasons given below. The diagnostic loop and main loop each pass through port control circuits PCC1 and PCC2 associated with ports 1 and 2, respectively. PCC1 is indicated by the reference number 140 a while PCC2 is indicated by the reference number 140 b. Each PCC includes a LOOP_IN (hereinafter LI) and a LOOP_OUT (hereinafter LO) connection interfaced with main loop 104. DIAG_IN and DIAG_OUT (hereinafter DI and DO, respectively) connections refer to the interface points with diagnostics loop 130. Further, each PCC includes PORT_IN and PORT_OUT (hereinafter PI and PO, respectively) connections. When the input or output connection of a particular PCC or the PCC itself is referred to, the appropriate port number designation will hereinafter be appended to the foregoing abbreviations. In addition, the RDU is interfaced in the diagnostics loop using RDU_IN and RDU_OUT connections. The port control circuits include a number of highly advantageous features. One important feature resides in the ability of the PCC's to listen to the data present on main loop 104. That is, the data on the main loop is copied onto the diagnostic loop by one of the PCC's and, thereafter, travels around the diagnostic loop to RDU 110 in a non-intrusive manner such that operation of main loop 104 is not affected, thus implementing the capability contemplated by the present invention requiring non-intrusive monitoring.

[0047] Referring to FIGS. 3 and 4, details regarding the design of the PCC's will now be described. PCC's have been produced in accordance with the present invention as integrated circuits per the block diagram of FIG. 4 which illustrates a PCC generally indicated by the reference numeral 140. PCC 140 will be described primarily in terms of this block diagram since it is considered that one of ordinary skill in the art may produce this circuit in view of this overall disclosure. PCC 140 includes a plurality of signal drivers several of which are indicated by the reference number 142 (not all drivers are indicated). One by two muliplexers 144 a-c, a one by four multiplexer 146 and a Clock Data Recovery Section (CDR) 148. The latter is connected with a low pass filter section 150 indicated within a dashed line. CDR Section 148 serves to recover clock information from incoming data on PORT_IN and retime incoming data to this recovered clock. With regard to details of construction of PCC 140, it is important to note that the data paths defined by the circuitry are high frequency in order to carry the contemplated gigabaud per second data rate. Input and output lines have been labeled consistent with FIG. 3. Thus, LI (LOOP-IN), LO (LOOP-OUT), PI (PORT-IN), PO (PORT-OUT), DI (DIAG-IN) and DO (DIAG-OUT) are readily identifiable. Additionally, a number of selection/control lines are present including CDR_SELN, DIAG_SELN, LOOP_SELN, PORT_SEL0N and PORT_SEL1N. The functions of these various additional lines will become evident below. TABLE 1 Signal Selection (boldface type is recovered data) PORT_(—) PORT_(—) LOOP_(—) DIAG_(—) CDR_(—) PORT_(—) LOOP_(—) DIAG_(—) STATE SEL0N SEL1N SELN SELN SELN OUT OUT OUT 1 1 1 1 1 1 LOW LOW LOW 2 0 1 1 1 1 LOW LOW LOW 3 1 0 1 1 1 LOW DIAG_IN DIAG_IN 4 0 0 1 1 1 LOW LOOP_IN LOOP_IN 5 1 1 0 1 1 LOW LOOP_IN LOW 6 0 1 0 1 1 LOW LOOP_IN LOW 7 1 0 0 1 1 LOW LOOP_IN DIAG_IN 8 0 0 0 1 1 LOW LOOP_IN LOOP_IN 9 1 1 1 0 1 LOW LOW DIAG_IN 10 0 1 1 0 1 LOW LOW DIAG_IN 11 1 0 1 0 1 LOW DIAG_IN DIAG_IN 12 0 0 1 0 1 LOW LOOP_IN DIAG_IN 13 1 1 0 0 1 LOW LOOP_IN DIAG_IN 14 0 1 0 0 1 LOW LOOP_IN DIAG_IN 15 1 0 0 0 1 LOW LOOP_IN DIAG_IN 16 0 0 0 0 1 LOW LOOP_IN DIAG_IN 17 1 1 1 1 0 LOW PORT_IN PORT_IN 18 0 1 1 1 0 PORT_IN PORT_IN PORT_IN 19 1 0 1 1 0 DIAG_IN PORT_IN PORT_IN 20 0 0 1 1 0 LOOP_IN PORT_IN PORT_IN 21 1 1 0 1 0 LOW LOOP_IN PORT_IN 22 0 1 0 1 0 PORT_IN LOOP_IN PORT_IN 23 1 0 0 1 0 DIAG_IN LOOP_IN PORT_IN 24 0 0 0 1 0 LOOP_IN LOOP_IN PORT_IN 25 1 1 1 0 0 LOW PORT_IN DIAG_IN 26 0 1 1 0 0 PORT_IN PORT_IN DIAG_IN 27 1 0 1 0 0 DIAG_IN PORT_IN DIAG_IN 28 0 0 1 0 0 LOOP_IN PORT_IN DIAG_IN 29 1 1 0 0 0 LOW LOOP_IN DIAG_IN 30 0 1 0 0 0 PORT_IN LOOP_IN DIAG_IN 31 1 0 0 0 0 DIAG_IN LOOP_IN DIAG_IN 32 0 0 0 0 0 LOOP_IN LOOP_IN DIAG_IN

[0048] Attention is now directed to Table 1 in conjunction with FIGS. 3-5. Table 1 indicates signal selections made using any PCC for a number of different combinations of inputs on the selection lines of that PCC while FIG. 5 is a cutway partial view of the system which primarily shows the PCC's. It should be appreciated that the relatively large number of selection possibilities (i.e., states), evidenced by Table 1, provides a great deal of flexibilty in the use of the PCC's. As an example, normal loop operation occurs in state 28 in which LI is connected to PO and PI connected to LO. PCC1, in FIG. 5, is connected in this way as indicated using curved lines 160 such that data passes from the main loop through PCC1, out to the associated station, back to the PCC and then back onto the main loop. Such a station is “inserted” in the loop. Also, in state 28, DI₁ is connected directly to DO₁ by a line 162. The purpose of this diagnostics loop connection will become apparent. The flexibility of the PCC becomes evident when one observes that in state 20, like state 28 LI is connected to PO and PI is connected to LO such that data passes through a station wherein the station serves as part of the main loop. S2 is illustrated in state 20 having curved lines 160 interconnecting the main loop with S2. Furthermore, PI₂ is connected with DO₂, as illustrated by a curved line 164, such that loop data from S2 is placed onto the diagnostics loop as well as continuing along the main loop. Thus, state 20 provides for placing data from PI (i.e., the output of the lobe on which the station resides, onto the diagnostics loop, while state 28 provides for routing the diagnostics loop through the PCC. In this way, data from a station “upstream” (i.e., S2 here) in the diagnostics loop relative to the station being monitored is able to flow to the RDU for analysis. While only two ports/stations are illustrated in the present figure, it should be appreciated that data may pass through any number of PCC's on the diagnostics loop in this manner.

[0049] Still considering options presented by Table 1 with reference to FIGS. 3 and 6, it is also important to observe that the RDU may place data onto the diagnostics loop for receipt by the PCC's or, more specifically, by a selected one of the stations. For example in FIG. 6, if the RDU is to perform diagnostics on S1, PCC1 may be placed into state 23, such that DI is connected to PO as represented by a curved line 166, LI is connected with LO as represented by a line 168 and PI is connected with DO as represented by curved line 164. It should be appreciated that, in state 23, S1 is effectively removed from the main loop. At the same time, S2 is placed into previously described state 28 such that S1 is effectively placed in the diagnostics loop while S2 remains connected in the main loop and, as such, may operate normally. With the stations in this configuration, diagnosis of S1 using the RDU may proceed in a highly advantageous manner, completely isolated from the main loop. Hereinafter, testing of a module in the above described manner will be referred to as an RDU station diagnosis test. Other states of interest from Table 1 include state 22 and state 7. State 22 allows external loopback of data back to a station with the station out the loop, while listening to the data with the RDU. This allows for offline diagnostics and is used to support a lobe verification test performed prior to station insertion, as will be described below. State 7 allows for internal loopback testing of a PCC using the RDU to send/receive data for use in hub self testing. It is noted that, in the event that an internal loop-back test is not successful, hub replacement is commonly indicated since the hub is not generally user serviceable. Further details will be provided below regarding the design of PCC's in accordance with the present invention.

[0050] With reference to FIG. 7, attention will now be directed to other advantages of the present invention. System 100 is depicted during an initialization procedure performed in accordance with the present invention. Accordingly, it will be assumed for purposes of the present example that S2 is the object of a port insert. That is, S2 has possibly just been received within port 2 of hub 102 and wishes to be inserted into main loop 104 necessitating a loop reintialization. An RDU station diagnosis test is performed on S2. This process (not shown here) begins in a first step by verifying that S2 has valid Fibre Channel data by connecting S2 in state 23 and S1 in state 28. While these connections are not specifically illustrated in FIG. 7, the reader is referred to FIG. 6 showing S1 in state 23 and S2 in state 28. It should be appreciated that a signal sent from the RDU to S2 will pass through PCC2, then through S2, back onto the diagnostics loop, through S1 to arrive back at the diagnostics loop. Having received the signal back, this first step performed by the RDU has been satisfied. That is, at this point the RDU knows by performing the RDU station diagnostic test that S2 has valid data input and so is ready to connect S2 into the main loop.

[0051] Still referring to FIG. 7, as a second step, S2 is connected into the main loop and the monitoring point for the RDU is moved to PCC1. Accordingly, PCC1 is placed into state 20 (described above), as indicated by curved lines 180 within PCC1, while PCC2 is placed into state 19, as indicated by curved lines 182, in which DI₂ is connected to PO₂ and PI₂ is connected to LO₂ as well as to DO₂. With this arrangement, the RDU can transmit a LIP to S2 via a segment 183 of the diagnostics loop and PCC2. PCC2 (assuming proper S2 operation) receives a response LIP back from S2 and places it onto a main loop segment 184 on which the LIP travels to PCC1. At the latter, the LIP is routed through S1 and then onto DO₁ to travel back to the RDU on a segment 186 of the diagnostics loop. In this way, it can be verified by the RDU that the LIP transmitted into S2 is received at S1. Having verified that the LIP has successfully traveled through all of the stations on the loop, the RDU may allow completion of the S2 port insert. In this regard, it should be appreciated that counter-rotation of the diagnostics loop in relation to the main loop is advantageous. As one advantage, this counter-rotation allows the port undergoing an insert to first receive the LIP from the RDU in a manner that is consistent with intuition. Thereafter, the LIP travels through all of the remaining stations on the loop. As another advantage, it is submitted that the counter-rotating diagnostic loop allows insertion of ports according to Fibre Channel loop protocol and that, without this feature, the port insert could be non-compliant. Moreover, if the diagnostics and main loops rotate in the same relative direction and the port to be inserted first receives the LIP (not shown), a segment conflict occurs on the diagnostics loop, which has not been illustrated for purposes of brevity, but which is readily demonstrable by one of ordinary skill in the art in view of this disclosure.

[0052] Referring now to FIG. 8, another highly advantageous initialization procedure performed in accordance with the present invention will be described. Specifically, an automatic external loop-back test is performed during any port insert. FIG. 8 is a partial view showing S1 as part of system 100. The external loop-back test is depicted under way for S1 with S1 in state 22 from Table 1. State 22 connects PI₁ to PO₁ and to DO₁ while connecting LI₁ to LO₁, as indicated by a set of curved lines 184. It should be appreciated that the external loop-back test provides for verification of the entire lobe on which S2 resides including the lobe's complex high frequency paths. In fact, because the diagnostics loop is used for monitoring, the integrity of at least a portion of the diagnostics loop is also confirmed. It is submitted that Fibre Channel protocol is completely devoid of this feature, including the automatic implementation contemplated herein. Moreover, Applicant's are not aware of the provision of an automatic external loop-back test in any form of loop protocol that provides for simultaneous monitoring of the looped back data. Such an external loop-back test is effective in the diagnosis of a problem with PCC1. A particular advantage associated with this procedure resides in the fact that the procedure is performed by the unit itself in a rapid manner which is likely to be of great benefit to a system administrator. For example, a system administrator can be notified via a notification generated by the system following a failed port insert, while the failed port is held in bypass mode. This notification may be generated in the form of an email message which is particularly advantageous in instances where the system administrator is monitoring from a remote location.

[0053] Referring briefly to FIG. 2, it should be appreciated that the present invention may be implemented in an alternative embodiment (not shown) wherein “Port Diagnostics Units” (PDU's) are provided. That is, the combination of the FDU, RDU and diagnostics loop is replaced in favor of a PDU at each port. In this manner, loop data can actually be tracked during its progress around the main loop by the PDU's. It is contemplated that a PDU implementation of the present invention is practical particularly in the form of an ASIC in which the entire hub function is produced essentially as one chip. The introduction of the PDU implementation does not vary the basic concept of the present invention. That is, the advantages derived herein extend from the capability to “listen” at a plurality of points distributed around the main loop. A further advantage is provided, as mentioned, in the form of the ability to simultaneously listen to the distributed loop points. For example, the progress of a specific, individual ordered set can be tracked in its progress around the loop.

[0054] Having generally described several hub implementations in accordance with the present invention, details with regard to the diagnostics capabilities of the RDU and FDU will now be described. It should be appreciated that these capabilities may also reside in a PDU implementation. One feature incorporated in the RDU and FDU is ordered set detection. Fibre Channel protocol recognizes ordered sets as four ten-bit characters (FC-0). Ordered sets are used, for example, during loop initialization. The present invention monitors a particular group of ordered sets. This monitored ordered set group includes IDLE, LIP, LIP F7, LIP F8 (where LIP is Loop Initialization Primitive), SOF (Start of Frame), ARB (Arbitrate) and OPN (Open). In addition, any other valid ordered set may be specified as USR (User) as well as an Unknown ordered set and K28.5 (comma character) which is the first character that any ordered sets may have in common and, therefore, is useful in a determination that valid ordered sets are present. A number of features are related in a direct way to the ability to perform ordered set detection at the points distributed around the loop, at least one of which will be described immediately hereinafter.

[0055] Turning to FIGS. 7 and 9, the present invention provides a feature related to the operational state of a Fibre Channel loop. This feature is presently implemented in both RDU 110 and in FDU 108. Presently, five loop states are used herein including INOPERATIVE (the loop is down), INITIALIZING, OPEN-INIT, UP and UP+FRAME (loop is up, with frames). The loop is considered as operational in either of the UP and UP+FRAME states. In FIG. 9, a view is provided which is representative of the physical appearance of the back of hub 100. In accordance with the present invention, a loop status indication LED 200 is provided which is illuminated whenever either of the loop states UP or UP+FRAMES are determined to exist. The presence of each of these two states is established using ordered set detection in conjunction with two additional detectors. The first additional detector detects an ordered set that is unknown and, hence, is referred to as an UNKNOWN detector. That is, the unknown ordered set is a valid ordered set but is not a member of the monitored ordered set group which is detected. The second additional detector is referred to as a LINK-USEABLE detector. In accordance with Fibre Channel protocol, more than a certain number of ones or zeros cannot occur in sequence. This certain number specifies a transition density which is a crude indication of invalid characters on the loop. Irrespective of ordered set detection, loop up indicator 200 is not illuminated unless the transition density has not been violated per the LINK-USEABLE detector. That is, if the link is unusable, the loop is said to be down. If no valid ordered sets are detected including the set specified by the UNKNOWN detector, the loop is also considered as being down.

[0056] The present invention recognizes that a Fibre Channel system will go to loop up in a sequence of ordered states that is identified through the use of the aforementioned monitored ordered set group. It should be appreciated that the monitored group of ordered sets will appear in sequence as a system moves from the inoperative state to an operative condition and that sequence must occur for proper initialization. Specifically, the first set which is monitored for from an inoperative state is a LIP. Upon recognition of a LIP ordered set, the INITIALIZING state is entered. In the INITIALIZING state, an arbitrate (ARB) or SOF ordered set is anticipated. Once an ARB or SOF is seen, status moves to the OPEN-INIT state. Thereafter, a CLS (close) command is anticipated which is used as a transition to the UP state. It is noted that the close command does not appear in the monitored set group, but is considered as a companion ordered set of the OPN command for use in closing a connection. Arrangement 100 then monitors for data frames (UP+FRAME) by detecting SOF. Thus, once the proper sequence of ordered sets has occurred, indication is provided, for example, via LED 200. Alternatively, the system administrator may receive an indication via software.

[0057] Another ordered set detection feature that is implemented in RDU 110 is a counter (not shown) that will count any ordered set for which information is desired to be gathered. For example, the counter can count frames at a particular port. If the counter is left active for a particular period of time, the number of data frames sent over that period is detected. In this way, traffic or events of interest can be monitored. Of course, if the data of interest is known to pass all the way around the loop, the RDU may be set to any monitoring point. As another example, the system administrator may wish to determine how much or how often a particular station is using the loop. Assuming that the system administrator wishes to establish this information for a station S7 (not shown) assigned ALPA-7, the counter can be set up to count ARBs or startup frames from S7. In this regard, it should be appreciated that ordered sets are 40 bits in length. The first 20 bits indicate what type of ordered set it is, while the next 20 bits give further details about the ordered set which usually includes the address of the station the ordered set came from. Accordingly, the counter can be set up to either use the ordered set just in terms of its type or to use the ordered set based on all or nearly all of the information available from the 40 bits. For example, only ARB ordered sets from S7 could be counted or, as another example, only ordered sets from S7 “talking” to a station S4 could be counted (not shown).

[0058] Another feature in accordance with the present invention resides in the ability to capture Arbitrated Loop Physical Addresses (ALPA's) by observing data patterns or communications on a loop. It is noted that the ALPA's are assigned to the various stations that are present on the loop during initialization. More specifically, present during initialization states referred to as OPEN and OPEN-INIT. Through the ability to listen at points distributed around a loop, the present invention is capable of determining which ALPA's are attached to each port. That is, an ALPA map can be generated. There are two methods used to establish the ALPA's connected to each port. In a first method, an ARB command is used. It should be appreciated that the use of ARB commands can reveal all of the active ALPA's on the loop while listening anywhere on the loop.

[0059] Referring to FIG. 3, in a second method of mapping connected ALPA's, an OPN command is used. When using OPN commands for this purpose, the listening point is moved around the loop to establish in which domain the OPN exists (i.e., where the OPN vanishes). For example, if S1 has an assigned ALPA of 1 and S2 has an assigned ALPA of 2, RDU 110 could first listen at S1. By examining ALPA's with ARB commands, ALPA-1 and ALPA-2 will be seen. Using the OPN ALPA mapper presently under discussion, however, only OPN's for ALPA-2 will be seen. Similarly, if the listening point is switched to S2, only OPN's for ALPA-1 will be seen. The disappearance of the OPN infers that the station at the listening point is assigned that ALPA. Certainty as to that being the correct ALPA is increased, as time passes, when that ALPA continues to be absent at that point. In this regard, a PDU implementation (not shown) is advantageous since the progress of an OPN around the loop can be observed simultaneously at all of the points around the loop. In this way, certainty is increased as to where an OPN disappears.

[0060] Having introduced the reader to a number of concepts of the present invention, an appropriate juncture has been reached at which some of its advantages can be emphasized. Specifically, it is important to understand that all of the capability discussed is provided in the hub itself. That is, the need for an external analyzer has been virtually eliminated. At the same, time, however, an external analyzer is inherently handicapped since its monitoring is intrusive, as described above. The present invention is inherently powerful based on the capability to monitor a plurality of points distributed around the loop. Other features such as, for example, ordered set detection and the counter are extremely useful in conjunction with this multi-point monitoring capability. It is submitted that such a combination of features has not been seen heretofore. In terms of problem identification, analysis can first be performed on the data to evaluate whether or not there really is a problem. In this regard, there can be conditions that are part of the normal operation of the loop, however, if these conditions persists then they are a problem. Such problems can be identified with the multi-point data available through consolidation of information. From another viewpoint, the multi-point data is used to establish the status of each of the stations in the loop. A particular station or even the hub itself can be identified as the source of a problem. With status data as to the entire loop including the hub in hand, the status data can be displayed or automatic, predetermined responses may be taken. For example, a defect can be removed. Thereafter, operation of the system may resume automatically. Alternatively, an indication can be provided to a system administrator that the defect has been removed and operation can now be restored. In one feature to be described, beaconing may be employed to identify the actual physical location of a removed defect. Specific details with regard to the display of additional status information will be provided immediately hereinafter.

[0061] Referring to FIG. 10, a display 202 is shown depicting a site management view generally indicated by the reference number 204. The present example assumes a system having two managed stacks wherein stack 1 includes two hubs and stack 2 includes three hubs. Site management view 204 represents an encapsulation of the status of every device that is within the scope of management. Therefore, at the highest level, all of the managed stacks including stack 1 and stack 2 are indicated by the reference numbers 206 and 208, respectively. Also shown, in the form of elliptical circles, are the loops (each of which uses a hub) associated with each stack as indicated by the reference numbers 210 and 212 for the stack 1 hubs/loops and by the reference numbers 214, 216 and 218 for the stack 2 hubs/loops. It should be noted that the operational status of each loop is indicated by the color of the loop in the present view. For example, an up and operating loop is shown by the color green within the corresponding elliptical circle. If any of the loops are not green, further attention should be directed to these loops, for example, using further status display features of the present invention which are available by “drilling down” from the site management view. It should be appreciated that one advantage of the site management view resides in immediately directing the attention of an observer to problem areas, even in the instance of a system administrator having little practical experience. In this regard, it is contemplated that the site management view may be iconified in a way which makes problems apparent via the appearance of an icon.

[0062] Turning to FIG. 11 in conjunction with FIG. 10, selection of stack 2, for example by double clicking on it in the site management view of FIG. 10, brings up a stack view 220 on display 202. It is noted that hubs may be considered as being in the same stack by virtue of having some type of connection with regard to their management information. For example, the connection may comprise an out of band management cable. That is, this management data is not present on the loops themselves. Stack view 220 displays hubs 214, 216 and 218 (FIG. 10) labeled as Hub 1, Hub 2 and Hub 3, respectively. The stack view is intended to highlight information from a configuration standpoint. For example, what types of physical connections are present in each hub and whether these connections are optical (shortwave or longwave) or copper. These connection types will be discussed further at appropriate points below. In addition, it is indicated which of the hubs may possibly have management agents in them since the management agent is what provides the information used to make these determinations. A color indicator 222 (the color of which cannot be seen due to format limitations of the present application, as is the case throughout the figures) comprising the background of the stack indicates an overall status derived from the status of each hub. For example, the background is green if all of the hubs are fully functional.

[0063] Referring to FIGS. 9-12, selection of one of the hubs in stack view 220 leads to a hub view 224 associated with the selected hub. FIG. 12 illustrates this view for Hub 2 of stack 2 (indicated by reference number 216 in FIG. 10). It is noted that additional Hub Views will be provided below. Hub view 224 may also be referred to as a back-of-box view since the image is intended to physically represent the appearance of the corresponding panel on the hub itself. It is noted that a great deal of the information available through the use of the present invention is presented in the hub view. At a glance, any of the ports can be seen including whether each port is in a functional status. Alternatively, it is indicated that ports need attention or a port is in a failure mode. This indication is provided by the background color 226 surrounding each port in gray, green, yellow or red (as noted above, color not illustratable) where gray indicates unused, green indicates functional, yellow indicates the need for attention and red indicates failure. Additionally, a pair of virtual LED's 228 are illustrated associated with each port. The actual LED's corresponding to these virtual LED's are indicated by the reference number 230 in FIG. 9 showing a pair of LED's is associated with each port. It is noted that both virtual LED's 228 and actual LED's 230 can be beaconed to cause the LED's to blink on display 202 as well as on the hub box itself, as will be further described. Thus, a good or bad indication can be provided for each port of the hub based on monitoring in accordance with the present invention. This feature is advantageous, for example, to anyone in helping to locate hardware of interest. In this regard, it is submitted that the capability to reflect the status of the loop and the use of beaconing, as described, have not been seen heretofore. It is also noted that a virtual “Loop Up” LED 232 is provided which corresponds to LED 200 in FIG. 9. That is, virtual Loop Up LED 232 is illuminated whenever LED 200 on the hub panel is illuminated. Other indications include Power OK 234, uC (microcontroller) OK 236 and Fan Fault 238 for which the actual and virtual LED's are indicated using the same reference number.

[0064]FIG. 13 represents a port detail screen 240 which appears upon selecting one of the ports in FIG. 12. In this example, port 11 of hub 2 in stack 2 has been selected. A port control box 242 is included in the screen which provides four selectable modes under which the port can be operated. The auto mode is configured for maintaining loop integrity and enabling built in recovery functions at a policy level. That is, in the auto mode, ports will not be inserted that will bring the loop down. The auto mode gives the hub full license to make every port insertion go through criteria to maintain loop integrity. In effect, authority is given to screen every module such as, for example, a GBIC (Gigabit Interface/Interconnect Converter) that is plugged into this port prior to its insertion into the loop. That authority is removed, for example, if the Force Bypass mode is selected. In Force Bypass mode, the port will not be inserted irrespective of validity. The Force Bypass mode can be used to perform tests on an already inserted port or a port can be bypassed prior to its initial insertion. It is noted that other diagnostic capabilities can be invoked in the Force Bypass mode, as will be described. Several other modes can be invoked including Loopback and Force Insert. In the Loopback mode, the port receiver is connected directly to the port transmitter such that a station on the port may do diagnostic self testing (see, for example, FIG. 8). In a lobe initialization feature which represents an alternate and more powerful method for testing stations before insertion, the loopback capability built into the port is used to wrap receive back to transmit so as to cause the station to initialize completely before insertion. This feature has the advantage of providing much more confidence that the inserting station is fully functional before impacting the hub and all stations already attached. In the Force Insert mode, a node/station is inserted into the loop irrespective of its operational status. Such a feature may be useful if a node is not behaving well according to the Fibre Channel protocol and it is desired to force that node to be inserted into the loop for observation. For example, the node may not be going through proper initialization. The provision of all of these user selectable modes is highly advantageous with regard to giving the user full control over devices for purposes such as, for example, troubleshooting. In this regard, verification can be performed on devices that are being blocked out for reason of not behaving well. That is, a suspect device can be reinserted to observe whether or not it is bringing down the loop.

[0065] Still referring to FIG. 13, one feature present in the port detail view is a GBIC display box 244. It is noted that GBIC's have some built in identification information. This information is extracted for display here. The information identifies the specific type of GBIC. For example, a shortwave laser GBIC (as shown), a longwave laser GBIC or a copper GBIC with an HSSDC connector. A state indication 245 within GBIC display box 244 is obtained from both the GBIC and the diagnostic circuitry that is monitoring the port, as described above. A “No Valid Data” indication is illustrated. In this way, it is determined if there is a valid signal and whether or not the node is transmitting valid Fibre Channel characters. A port connect box 246 includes a state indication 248 that is produced by the present invention. While action can be initiated based on no valid data, the present invention further provides for bypassing a node that is in a loop failure state or transmitting LIP F8. For example, if a device is “LIP F8ing”, port connect state box 248 will reflect that condition (not shown). Alternatively, if there is a problem with the transmitter on the GBIC itself, it will be indicated.

[0066] Referring to FIG. 14, if Vixel logo 250 is selected in the hub view of FIG. 12, a hub sweep view 260 appears on display 202. The hub sweep view is comprised of a consolidated capture of data for all of the ports of the hub displayed in a meaningful way. Data is displayed corresponding to each port or node on the loop. The port numbers are indicated in a row 264. Beneath each port number is a column of boxes labeled to the far left with ordered sets. It should be noted that the monitored group of ordered sets, described above, is displayed forming a majority of the information in the column. Specifically, LIP is indicated by reference number 265, LIP F7 is indicated by 266, LIP F8 is indicated by 268, OPN is indicated by 270, ARB is indicated by 272, IDLE is indicated by 274, SOF is indicated by 276, USR (User Defineable) is indicated by “Match” at 278 and the Other ordered set (Other OS) is indicated by 280. A link useable indication 282 is provided along with a K28.5, comma character, indication 283. Therefore, the presence of an ordered set associated with each port may be indicated. It should be appreciated that, while quite a number of individual data are displayed, a system administrator can discern meaningful information from the display very readily. Even an inexperienced administrator will immediately recognize the value in this display. An experienced administrator, however, will be capable of correlating the data in view of his or her experience. Other displayed data includes a loop state display 284 which indicates whether the loop is up, down or initializing. Presently, an “Up” indication is being given. It is noted that the various display boxes of FIG. 14 may be arranged in any suitable manner and that a warning will come up if a user selects an non-automatic option.

[0067] With regard to interpretation of sweep display 260, initializing is a normal process that a loop will go through as the loop is starting up. Initialization should occur for a very brief period of time prior to the loop coming into the up or active state. If the loop stays stuck in initialization, the hub sweep view enables one to be able to see which nodes/ports are involved. More particularly, the presence of LIP F8 is displayed. The significance of this loop initialization primitive was described earlier. Therefore, if a node is in a LIP F8 state, from this sweep view one can readily see which is the offending node. Thereafter, mechanisms also built into the hub can be used to automatically recover. It should be appreciated that this display is highly advantageous since for each segment of the loop one can, at a glance, see exactly which data is being transferred. That is, if that segment is in a quiet state, if it's in initializing or if it's in a failure mode. Alternatively, further troubleshooting may be performed using other diagnostic screens to be described below. In this regard, the present invention provides a great deal of single port visibility through the monitoring that can be performed on a single port. By collectively displaying data gathered for all of the ports in a consolidated view, valuable information is provided as to what is actually going on in the loop. It is submitted that such a view is highly advantageous and has not been seen in a Fibre Channel system heretofore. In order to achieve a display such as this in the prior art, the number of ports would at least have to be doubled with analyzers residing at each of the added ports. Sweep display 260 has further implications. That is, by having the information available from the present invention, automatic actions can be implemented based on analysis of the data accumulated. It should be mentioned that sweep display 260 may be presented irrespective of whether a port or roving diagnostic implementation is used to collect the data.

[0068] Referring to FIGS. 15 and 16, one example of a per port diagnostic screen 286 is illustrated. Port diagnostic screen 286 includes a port diagnostics control box 288, a port selection box 290 and a transmitter control box 292. Using port diagnostics screen 286, it should be appreciated that full path end-to-end verification can be performed from the hub on a lobe. As an example, FIG. 16 illustrates a portion of hub 102 connected with station S1. The lobe consists of the GBIC transceiver which includes a transmitter TX_(P1) and a receiver Rx_(P1). The lobe further includes a cable or fibers 294 extending from the hub to a node receiver Rx_(S1) and a node transmitter Tx_(S1) at the station. The latter may also include a loop state machine 296 that is diagrammatically indicated by an arc extending between the station transmitter and receiver. It is noted that during the full path verification, the hub bypasses the station, as illustrated (by LI₁ being connected to LO₁), such that the node is isolated from the main loop. In the absence of loop state machine 296, data that is sent to the station from the hub is expected to return to the hub so as to perform an end-to-end connection verification. In the presence of loop state machine 296 and being cognitive of the loop state machine implemented, however, an ordered set can be sent to the station which should return a different response. Thus, the operation of the loop state machine is verified as well as the connections in the lobe. The ability is provided to transmit to a port, receive on that same port and detect what ordered sets were seen on the receive. Lobe verification is highly advantageous with regard to diagnosis since there are numerous opportunities for points of failure around the lobe's path. For example, there may be a bad laser or a plug-in connection that is not fully seated. It should be appreciated that this verification is more powerful as compared with an external loop-back test. In an external loop-back-test (not shown), the station itself may do some verification with the port in bypass mode. The node would initiate the process and would transmit from Tx_(S1) to Rx_(P1). The hub will then loop that data to Tx_(P1) to then pass the information back to S1 via Rxs_(S1).

[0069] The end-to-end lobe verification test of the present invention is considered to be highly advantageous (1) in verifying the node state machine without external interaction and (2) because the configuration on which the verification is successfully performed will not be physically disturbed for purposes of entering normal operation. That is, the configuration will not be disturbed upon entering normal operation. It is submitted that this feature has not been seen heretofore. While port diagnostics screen 286 provides a visual display for purposes of manipulating this lobe verification, the present invention contemplates the use of lobe verification in an automatic process. For example, a capability may be provided for an operator to do a full configuration verification by pushing one button. In response, the system would then go out, bypass every node and do the full path verification on each node. Thereafter, a display (not shown) of the configuration verification results can be provided.

[0070] Still referring to FIGS. 15 and 16, another capability is provided using transmitter control box 292. Through the ability to turn hub transmitter Tx_(P1) on and off, another form of verification is provided. Specifically, node verification is provided in response to turning the port transmitter off to a node. If Tx_(P1) is turned off, S1 should respond with a LIP F8, or the loop failure character, thus, serving as another mechanism of verification. The capability to selectively turn off a transmitter whereby to solicit a LIP F8 from a connected station may be referred to hereinafter as a transmit disable feature and is considered as being highly advantageous.

[0071] Turning now to FIG. 17, a Fibre Channel system 300 is illustrated which includes stations S1-S5, a hub H1 and a loop L1. Stations S1 and S2 are connected in L1 while Stations S3-S5 are connected using H1. For purposes of the present example, it will be assumed that two tape backup operations are occurring in which S3 and S5 are both tape devices and S1 and S2 are servers. One backup is from S1 to S3 while the other backup is from S2 to S5. It should be appreciated that Fibre Channel is not a broadcast media. That is, without the hub of the present invention, there is no visibility to all data at all points in a loop. In addition, only two devices can be “talking” at once to each other using a loop. This holds with the aforementioned tape backups going on, since only two nodes can have control of the loop and be transferring data at any one time. Therefore, the two backup operations are in total contention for the bandwidth of the loop at this point in time. Assuming further that H1 is manufactured in accordance with the present invention, at least the ordered sets described above can be counted. Startup Frames (SOFs), for example, show data going through while ARBs show a node gaining control of a loop. By looking at these specific pieces of data, an indication may be provided that there is contention or as to the amounts of data that are being transferred such that, upon analysis of the data, recommendations can be made to either change the time assigned for one of the backups or to segment one backup onto another loop (not shown) since the simultaneous backups tend to slow one another down, as well as to prohibit any other use of the system. In essence, this feature is provided by using gathered information to give one a picture of the traffic or the data frames between the modules on the loop.

[0072] Still referring to FIG. 17, it is important to understand that information relating to S1 and S2 is provided despite the fact that loop L1 is not managed. In other words, determinations are made regarding a hub or a loop in which H1 is not actually physically directly monitoring the information on that remote loop or hub. These determinations as to the utilization of the remote loop can be made, however, because the hub of the present invention is connected to the remote loop. Utilization may be displayed, for example, in the form of a tachometer style gauge (not shown). Other features may be included such as a threshold for alarming purposes. It should be appreciated that the addition of a hub configured in accordance with the present invention is highly advantageous when added to an “unmanaged” system. Particularly, diagnostic capability will be provided for the existing installation as well as for components connected directly to the new hub. In the example of FIG. 17, with regard to unmanaged loop L1, managed hub H1 may not necessarily be able to identify whether it is S1 or S2 that is misbehaving on the unmanaged loop. However, a problem could certainly be isolated to the port of H1 with which the unmanaged loop is connected. It is submitted that these features with regard to visibility of utilization and congestion are highly advantageous and have not been seen heretofore.

[0073] Referring to FIG. 18 and having gone through a number of different displays, status indications and information displayed, a description will now be provided regarding details as to how these features are implemented using a data management arrangement 320. Initially, information is collected by a hub data collection section 322 which represents all of the hardware “hooks” that are built into hub 102 (FIGS. 2 and 3) manufactured in accordance with the present invention. This information is stored in a data repository 324 that is resident on a management card (not shown) that is built into the hub. The data is stored in an SNMP mid-structure which is a standard management acquisition tool in networking. It should be appreciated that the available data stored in the memory itself provides the advantages herein (i.e., based on the origination points of the data) in conjunction with its subsequent analysis. The data is transferred via a LAN connection 326 in response to a host poll 327 which is generated by a host system that is not illustrated for purposes of simplicity. It is noted that host poll 327 and the remaining, as of yet undescribed portions of FIG. 18 relate to the method steps implemented within the host system. The information is polled in response to a request by an application running on the host system. That is, data repository 324 serves as an SNMP agent which collects the information in response to the host request. While FIG. 18 illustrates a poll driven system, it should be appreciated that an event driven system is also contemplated.

[0074] Referring to FIGS. 10-13 in conjunction with FIG. 18, the host polls information from the hub (or hubs) and will poll in an automatic poll 328 all data generically unless the system is in a diagnostic mode. Therefore, the polled information is used in site management view 204 (FIG. 10), stack view 220 (FIG. 11), hub view 224 (FIG. 12) and port detail screen 240 (FIG. 13). The poll of this information is performed at a regular interval which is usually resettable. Generally, the interval may be set from five seconds to each hour. The information is status information which may include, for example, whether a port has been bypassed and if the port has a signal. Thus, the information that is displayed in FIGS. 10 through 13 is polled continuously. Attributes of the data are assigned to a hierarchy of objects within the system. For example, attributes are assigned to a hub object, a port object or a stack object. Each object is based on knowledge of what components the particular object is composed. That is, a port “knows” that it has a signal and a GBIC may be associated with the port. If another port does not have a GBIC, the lack of a GBIC is actually an attribute of that other port. If a port does have a GBIC, then there are characteristics of the GBIC that are available. As further examples, a hub is comprised of ports and a stack is comprised of hubs.

[0075] Referring to FIGS. 10-14 and 18, certain characteristics are observed in looking at the information that is monitored. For instance, if a port goes into a bypass mode, it should be reported why the port went into that bypass mode. This forms part of the information that is displayed on a regular basis. It should be appreciated that in a diagnostic mode a different type of mechanism comes into play. For instance, when the hub sweep view of FIG. 14 is polled up, this different type of mechanism is employed. While information will still be polled, control information will be sent as well. Thus, if hub sweep view 260 (FIG. 14) is initiated, the hub will use its detector arrangement (i.e., RDU or PDU's) to get information for each port such as the different ordered sets described above. This information will be displayed and observed for the presence of a port in LIP F8. If the latter occurs, an indication is provided that the port transmitting LIP F8 is in a failure status and needs attention. For example, if such a port is in a forced insert mode, the entire loop will be brought down. The status of the port can be reflected all the way up to the loop level (FIG. 10) while, if the port number is displayed, the background of the port is highlighted to reflect status. For the LIP F8 failure status, the background highlight is red. Color highlights are represented in monochrome form around ports 2, 3, 5, 9, 10 and 11 in FIG. 14. In sum, two forms of diagnostic activity occur. The first is automatic poll 328 which is auto-running all of the time while the second is an intrusive/on-demand poll beginning with step 329 that occurs on demand. The automatic poll monitors all components and objects in the system using a generic health associated with each. This generic health may be reflected up, for example, with the occurrence of a LIP F8, as described. The on-demand poll is used in more detailed or specific monitoring (FIG. 14) and will be described in further detail hereinafter. The present invention also contemplates the use of automated diagnostics 330, as mentioned above with regard to event driven diagnostics.

[0076] Referring to FIG. 18, the on-demand diagnostics operate first by detecting all ports in step 329 to determine which ordered sets are going past each port. In this way, a determination is made as to whether or not the loop is functional. More specifically, if OPNs, ARBs, and startup frames (SOF) are going past, these are valid, operational loop ordered sets. In contrast, if there are loop initialization primitives going around for longer than a very short period of time (e.g., a second would be a long time), the loop is stuck in initialization which will be reflected up through indications. Thus, in step 332, if LIP's occur for greater than some predetermined interval, health indication is changed in a “change health status” step 334 for display purposes. Other notification mechanisms may be provided, as well. In step 336, if LIP F8 is detected, step 338 changes the health status to the failure mode. While the present discussions are centered upon Fibre Channel, it is considered that the method of the present invention can be used in other systems. That is, the characteristics of the data in a particular system may allow provisions for the same sort of detection capability. For example, if detection were performed in other protocols such as in an Ethernet hub in the disclosed manner (at the bit level monitoring non-invasively at distributed points), it is submitted that this method is new.

[0077] As described above, IDLE characters are included in the monitored group of ordered sets. A discussion will now be provided as to a number of features that are available as a result of idle detection coupled with the overall monitoring configuration of the present invention. Initially, it is noted that if an idle mode is present (i.e., idles are being passed around a loop by the stations connected therein) and a cable is cut, for example, to a node, that node or station will begin transmitting LIP F8. In accordance with the present invention, that node will automatically be bypassed such that the quiet state of the loop is restored. In another feature, the presence of essentially nothing but idles on a loop indicate that a loop is not being utilized. If a pattern develops, for example, every evening between 10 p.m. and 2 a.m. nothing but idles are seen, an opportunity is provided for performing activities such as backup. Thus, recommendations can be made for these quiet times to do batch processing so as to better utilize the data link. In still another feature, the reader is reminded of the foregoing discussion relating to detection of valid Fibre Channel characters. If a node starts corrupting IDLE characters, the present invention will detect the fact that these are not valid IDLE characters. In response, the node which is corrupting the IDLEs will automatically be bypassed. It should be appreciated that this feature is highly advantageous. By proactively intervening upon detection of the corrupted IDLEs and, thereupon, disallowing the offending node from participating, there is no loss of actual data. Thereafter, a notification may be provided with regard to the occurrence of the corrupted IDLEs.

[0078] Attention is now directed to FIG. 19 which illustrates a Fibre Channel system produced in accordance with the present invention, generally indicated by the reference number 350, for purposes of a discussion of topology mapping in accordance with the present invention. System 350 includes hubs H1 and H2 manufactured in accordance with the present invention. Station S1 is connected to port P1 of H1 while station S2 is connected to port P2 of H2 and station S3 is connected to Port P3 of H2. Port P2 of H1 is connected to port P1 of H2 hub connection. It is assumed that ALPA 1 is assigned to S1, ALPA 2 is assigned to S2 and ALPA 3 is assigned to S3. It should be appreciated that ALPA detection can be applied, as described with regard to FIG. 3, to determine which ALPA's are connected to each port. In the present example, ALPA mapping, in and of itself, will correctly show that ALPA 1, or S1 is connected to P1 of H1. By running an ALPA map on H2 port 1 from H1 port 2, however, ALPA 2 and ALPA 3 (i.e., S2 and S3) will be seen as connected to H1 port 2. In this regard, it is apparent that ALPA mapping does not reveal devices that may be intermediately connected between the stations. Accordingly, it is an objective of the present invention to perform topology mapping identifying intermediately connected devices. In one topology mapping feature, the present invention includes an arrangement for identifying hubs to other hubs such that, if two of these managed hubs are connected together, one hub will recognize that it has a managed hub connected to it and relay that information to a management application. Knowledge of the hub to hub connection will permit the correct locations of S1 and S2 to be identified. This feature is facilitated through identification/serial numbers that are built into the hubs.

[0079] The transmit disable feature described with regard to FIG. 16 is highly advantageous for use in another topology mapping feature. Specifically, one method used in accordance with the present invention is to check response to the transmit disable feature. If an attachment is a station, it will respond with a LIP F8. In other words, receipt of LIP F8 in response to a transmit disable confirms the presence of a station on the particular lobe served by the disabled transmitter. If, however, a prior art hub rather than a station is on the particular lobe served, the hub will not respond with LIP F8. Still another topology mapping feature is provided which is also submitted to be highly advantageous and which is designed for use with managed hubs in accordance with the present invention. In this feature, following an attachment request received by a managed hub, the managed hub will transmit a burst of LIP F7 to the requesting connection prior to insertion. If the attachment request is from a station, the station will respond to the burst with LIP F7 followed by a stream of IDLES for 15 milliseconds. During the 15 millisecond period, an ARB FB is transmitted to the requesting connection. If the requesting connection is a station, the ARB FB will not return to the hub. Alternatively, if the connection is a hub, the ARB FB will return to the hub. In the event that the ARB FB is returned, the hub will attempt to exchange serial number information via special ordered sets. If the attaching hub is another managed hub manufactured in accordance with the present invention, a serial number other than the first hub's will return. Conversely, if the attaching hub is an unmanaged hub, the serial number of the first hub will return. Therefore, one advantage of this feature is the capability to gather enough information to describe the sequence of connection of hubs by serial number. Once the sequence can be detected, it is also possible to determine if hubs are connected improperly and report problems. It should be appreciated that a significant challenge for system administrators concerning complex configurations is to confirm that the wires/fibers got connected as intended. This level of topology mapping provides the needed feedback.

[0080] In sum, with regard to the topology mapping features described thus far, ALPA mapping allows determination of the ALPA's that are connected to a port. The transmit disable feature, in which the transmitter to the connection is turned off before the connection is allowed on the loop, allows identification as to whether the device on the connection is a station or another hub. Identification of serial numbers of other hubs allows for locating managed hubs and providing their identification numbers.

[0081] Referring to FIG. 3, it should be appreciated that hub 102 of the present invention is a repeated hub. Data comes into the hub serially and goes out serially with no delay or imperceptible delay. The hub of the present invention may be an elastic device. This elasticity may be in either in the FDU or RDU 110. In this regard, an elastic FDU 108 a is illustrated by a dashed line in a series connection with main loop 104. It is noted that RDU 110 may be elastic, as shown. Data comes into the hub serially, gets converted from serial to parallel, and then is clocked by a separate clock to retime the data. It should be appreciated that the hub of the present invention should be elastic because, depending on the difference between the incoming clock and the local clock, the hub may have to either insert words or delete words. The term elasticity describes absorbing the difference between the clock signals, retiming the data and resetting the jitter to zero. More importantly, what is added is the ability in the hub to insert ordered sets or frames into the data stream and then also remove the inserted data from the data stream without interrupting the normal flow of data. For example, an ordered set can be inserted onto the loop which then can go through a number of devices and come back to the hub to then be removed such that the inserted ordered set does not continue to circulate. Since a request is inserted, it can also be established when the request returns to the hub. Therefore, by observing such a request on one lobe using the RDU, it can be determined what is connected on the lobe as well as the length of the connection since the delay in return can be timed.

[0082] Referring to FIG. 19, as previously discussed, ALPA mapping using OPN's allows for locating devices that are quiescent. In other words, locating devices that are not open and are not arbitrating for the loop. For example, if S1 is quiescent, it will not send out ARB's or be opened by another device. Therefore, an ALPA map based on active devices will not see S1. The proactive approach of the present invention permits sending out queries to any station to elicit a response, whether the station is active or not, in performing topology mapping. As mentioned, in order to insert and remove these queries, elasticity is provided within the hub with the additional benefits of retiming the data and reseting the jitter to zero. For example, in FIG. 3, elastic FDU 108 a retimes data and resets jitter between PCC1 and PCC2.

[0083] Attention is now directed to FIG. 20 for purposes of a discussion of hot cascading performed in accordance with the present invention. FIG. 20 illustrates a system manufactured in accordance with the present invention and generally indicated by the reference number 400. System 400 includes hubs H1 and H2 wherein at least H2 is produced in accordance with the present invention. Stations S1 and S2 are connected to H1 while stations S3 and S4 are connected to H2. Initially, it is assumed that the hubs are not connected such that two loops are operating separately. Thus, S1 and S2 may be assigned ALPA 2 and ALPA 1, respectively, on H1. At the same time, S3 and S4 may be assigned ALPA 1 and ALPA 2 on H2. Cascading itself is the process of connecting the hubs to one another via a connection path “A”. Hot cascading denotes the fact that the separate loops are already active and the addressees (ALPA's) are already assigned on the separate loops present on H1 and H2. However, as is the case here, it should be appreciated that the ALPA's may be the same for the stations on each loop. That is, both S2 and S3 are assigned ALPA 1 and both S1 and S4 are assigned ALPA 2. Therefore, closing connection A can have disastrous results unless special precautions are taken. For example, it is desirable to avoid events such as data intended for ALPA 2 on H2 to be written to ALPA 2 on H1. As another example, if S2 with ALPA 1 tries to send a command to ALPA 2 on H1 (i.e., S2), it can be seen that because of the direction of the loops the first station having ALPA 2 that this data will encounter is S4 on H2. Thus, it should be assured that such events do not occur as a result of hot cascading. The present invention provides two methods for performing hot cascading, as will be described immediately hereinafter.

[0084] Referring to FIG. 21 in conjunction with FIG. 20, a first hot cascading method is generally indicated by the reference number 420. The basis of this method is to reset connection A from H2 prior to insertion and, hence, it may be referred to as a “reset connection” method. Method 420 begins with step 422 in which H2 listens for valid input on Rx of its P3. Thereafter, in step 424, LIP F7 is transmitted from Tx of P3 on H2. When the LIP F7 to H2 at P3(Rx), it is known that the remote H1 loop has returned the LIP, is operating properly and, therefore, is in a position to reset. Step 426 is then entered in which the LIP F7 continues to be transmitted from P3(Tx) of H2 while listening on P1(Rx) of H2 for the LIP F7 to return. Following return of the LIP F7, in step 428, the LIP is released on P3(Tx) of H2 and normal loop data is transmitted therefrom.

[0085] Referring to FIGS. 20 and 22, a second hot cascading method is generally indicated by the reference number 440. The basis of the second method is to reset H2 first and, hence, it may be referred to as a “self-reset” method. Method 440 begins with previously described steps 422 and 424. Following step 424, step 442 is performed in which LIP F7 is transmitted on P2(Tx) of H2 while listening for the LIP F7 at P1(Rx) of H2. As compared with method 420, in this instance, the LIP is transmitted upstream from the new connection (i.e., connection A) so as to reset H2 prior to H1. Thereafter, in step 444, loop data is transmitted on P3(Tx) of H2 with P3(Rx) of H2 connected into the loop. That is, the new connection is allowed in while transmitting the LIP F7. Following step 444, step 446 transmits normal loop data on P2(Tx) of H2.

[0086] Referring to FIG. 2, RDU 110 also utilizes methods for diagnosing system failures outside of hub 102. In a first detection feature, the ability to detect a CRC (Cyclic Redundancy Code) error is included so as to detect a data frame with a bit error entering the hub. In addition, because the RDU identifies the error to a hub port, the error domain is visible and the administrator therefore knows which connection to explore. Therefore, this feature is useful to a system administrator in determining if stations are introducing errors. In a second detection feature, the RDU also captures the source address (ALPA) of the bad data frame. The ALPA information combined with the port identification allows for further narrowing of the source of the error. Isolation of the error may be accomplished by identifying which ALPAs show errors and which do not. The boundary has a strong possibility of being the problem spot. In a third detection feature, invalid Fibre Channel Words are identified. This feature is useful in that invalid Fibre Channel Words are an indication of bit errors on a physical link both inside and outside data frames. An invalid word indication would occur if a bit error occurred between the last station and the RDU. This feature is useful if a fiber, transmitter or receiver is intermittent. It should be appreciated that all of these detection mechanisms can be collected and displayed in a persistent mode to allow capturing and displaying occurrences that are very low in frequency. A real time display would blink on and off so quickly as to be invisible to the administrator.

[0087] Using the specification to this point and FIGS. 2-22, it is considered that one of ordinary skill in the art may readily practice the present invention in view of the teachings therein. However, for further explanatory purposes, the various configurations and methods disclosed thus far will be described in more detail in conjunction with FIGS. 23-34. It is noted that the term Wizard refers to a hub manufactured in accordance with the present invention, while the terms Apprentice and Magician refer to management method configurations operating in accordance with the present invention. Immediately hereinafter, a description will be provided of an embodiment of a Port Control Integrated Circuit (PCC) manufactured in accordance with the present invention and suitable for use in PCC embodiments of the invention described above. Thereafter, documentation will be provided with regard to management including specific display provisions.

1.0 Purpose

[0088] The purpose of this description is to define the electrical, mechanical and environmental requirements for a Fiber Channel FC-AL Hub Integrated Circuit.

2.0 Scope

[0089] This description is limited to the definition of the requirements of the Integrated Circuit specified herein and to no other Integrated Circuit.

3.0 Applicable Documents/References

[0090] ANSI X3.272 - 199x Fibre Channel Arbitrated Loop X3T11/Project 960D/ Interface (FC-AL) Rev. 4.5 TR ANSI X3.XXX - 199x Fibre Channel - Methodologies for Jitter Rev. 1.0 Draft F Specification draft Proposed X3 Technical Report (Jitter Working Group)

4.0 Electrical Requirements

[0091] TABLE 4.1 Absolute Maximum Ratings (VEEE, VEET, VEEG, VEEP = GND) Symbol Description Min. Typ. Max. Unit Comment Vcc Power supply −0.3 4 V voltage VI_T TTL DC input −0.5 5.5 V voltage VI_E ECL DC input Vcc − 2 Vcc V voltage II_E ECL input voltage −2 2 V between differential signal IOH_T TTL output current −20 0 mA (High) IOL_T TTL output current 0 20 mA (Low) IO_E ECL output current −30 0 mA Ta Ambient −55 70 C. Under bias temperature Tstg Storage temperature −65 150 C.

[0092] TABLE 4.2 Recommended Operating Conditions Symbol Description Min. Typ. Max. Unit Comment Vcc Power supply 3.135 3.3 3.465 V 3.3 V + 5% voltage Ta Ambient 0 70 C. temperature

[0093] TABLE 4.3 DC Characteristics (over recommended operating conditions) Symbol Description Min. Typ. Max. Unit Condition VIH_T Input HIGH voltage (TTL) 2 5.5 V VIL_T Input LOW voltage (TTL) 0 0.8 V IIH_T Input HIGH current (TTL) 20 μA Vin = Vcc IIL_T Input LOW current (TTL) −400 μA Vin = 0 VOH_T Output HIGH voltage (TTL) 2.2 Vcc V IOH = −0.4 mA VOL_T Output LOW voltage (TTL) 0.5 V IOL = 2 mA VIH_E Input HIGH voltage (ECL) Vcc − 1.17 Vcc − 0.88 V VIL_E Input LOW voltage (ECL) Vcc − 1.81 Vcc − 1.48 V VIS_E Differential input voltage 200 1000 mV AC coupled swing (ECL) VOH_E Output HIGH voltage (ECL) Vcc − 1.05 Vcc − 0.81 V 50 ohm to Vcc − 2 V VOL_E Output LOW voltage (ECL) Vcc − 1.81 Vcc − 1.55 V 50 ohm to Vcc − 2 V Icc Supply current 123 154 mA Outputs open Pd Power dissipation 406 534 mW Outputs open

[0094] TABLE 4.4 AC Characteristics (over recommended operating conditions) See also FIG. 4.

[0095] TABLE 4.5 Function of LOOP_OUT (see also FIG. 4) LOOP_SELN LOOP_OUT H Recovered Data L LOOP_IN

[0096] TABLE 4.6 Function of DIAG_OUT (see also FIG. 4) DIAG_SELN DIAG_OUT H Recovered Data L DIAG_IN

[0097] TABLE 4.7 Function of PORT_OUT (see also FIG. 4) PORT_SEL0N PORT_SEL1N PORT_OUT H H Low L H Recovered Data H L DIAG_IN L L LOOP_IN

[0098] TABLE 4.8 Function of Recovered Data (see also FIG. 4) PORT_SEL0N PORT_SEL1N CDR_SELN Recovered Data H H H Low L H H — H L H DIAG_IN L L H LOOP_IN H H L PORT_IN L H L PORT_IN H L L PORT_IN L L L PORT_IN

4.9 Selection of Signal

[0099] (Note: for Selection of Signal see Table 1 above)

5.0 Mechanical Specifications

[0100] 5.1 Pin Description (see also FIG. 4) Name Pin No. Type Description X REFCLK 1 I_TTL Reference Clock: When LKREFN is Low or CDR input frequency Is unlocked, PLL locks to REFCLK LKDT 2 O_TTL PLL Lock Detector: When PLL doesn't lock, it is Low VEET 3 PS Ground for TTL I/O: 0 V. DIAG_IN 4 I_ECL (Diff) Serial data output. (See FIG. 1). DIAG_INN 5 VCCE 6 PS Power Supply for ECL I/O: 3.3 V ± 5% LOOP_IN 7 I_ECL (Diff) Serial data input. (See FIG. 1). LOOP_INN 8 VEEG 9 PS Ground for internal logic gate: 0 V. PORT_IN 10 I_ECL (Diff) Serial data input. (See FIG. 1). PORT_INN 11 LKREFN 12 I_TTL Lock to Reference. An active Low input, LKREFN Causes the PLL lock to the REFCLK VEEP 13 PS Ground for PLL: 0 V. LPF1 14 EX Connect to external Loop Filter. LPF2 15 EX Connect to external Loop Filter. VCCP 16 PS Power supply for PLL: 3.3 V ± 5&. PORT_SEL1N 17 I_TTL Selection for PORT_OUT. (See Table 1) PORT_SEL0N 18 VEEE 19 PS Ground for ECL I/O: 0 V. PORT_OUTN 20 O_ECL (Diff) Serial data output. (See FIG. 1). PORT_OUT 21 VCCE 22 PS Power supply for ECL I/O: 3.3 V ± 5%. LOOP_OUTN 23 0_ECL (Diff) Serial data output. (See FIG. 1). LOOP_OUT 24 VCCG 25 PS Power supply for internal logic gates: 3.3 V ± 5%. DIAG_INN 26 I_ECL (Diff) Serial data input. (See FIG. 1). DIAG_IN 27 LOOP-SELN 28 I_TTL Selection for LOOP_OUT. (See Table 1). DIAG_SELN 29 I_TTL Selection for DIAG_OUT. (See Table 1). CDR_SELN 30 I_TTL When Low, PORT_IN is selected for CDR.

[0101] TABLE 5.2 Pin Type Definition Type Definition PS Power supply or ground. I_TTL Input TTL O_TTL Output TTL I_ECL Input ECL O_ECL Output ECL EX External circuit node.

6. GUI Requirements

[0102] The primary purpose of the GUI is to enable the user to easily configure and manage one or many stacks. This functionality breaks down into two general categories, multiple stack (device) management and problem (fault) detection and isolation. The device management is focused on viewing the status and controlling physical devices and fault management is focused on viewing the current state of a loop and the connections to it. In managing the stacks there is a natural hierarchy: stacks, mgmt, hubs, ports. In problem detection and isolation information for loop states the hierarchy is: loops, mgmt, hubs, ports. The GUI will present these “cuts” or views into the data.

[0103] The overall requirements of the GUI are:

[0104] GUI must be intuitive, easy to use, and useful

[0105] Help system

[0106] Multiple Stack device management—ability to view ID, status and controls for any manageable item

[0107] Site view

[0108] Single stack view

[0109] Mgmt view

[0110] Hub view

[0111] Port view

[0112] Problem detection and isolation—ability to view how stacks and loops are connected and health information

[0113] Site view

[0114] Single loop view

[0115] Mgmt view

[0116] Hub view

[0117] Port view

[0118] Must provide an Ethernet SNMP interface

[0119] Must be localizable

[0120] Must interface with Apprentice

[0121] Must provide event logging

6.1 Site View

[0122] This view will present all active Mgmt cards and all loops associated with each card which will give the user a one screen presentation of the health of all managed stacks and their loops. Since, each managed stack must contain at least one management card and only one card can be active within a management stack, the highest level view will present the active card within each stack and each card presented in this view will be indicative of the worst state of the corresponding stack of hubs. In the same respect, the loops displayed will be presented in a way to reflect their current state (active, should investigate, down). The user needs the ability to display and modify identifying information for both stacks and loops.

[0123] The requirements for this view are:

[0124] Display all manageable/monitorable items

[0125] stacks

[0126] loops

[0127] Identification of all manageable stacks by active mgmt card

[0128] IP

[0129] MAC

[0130] domain name

[0131] user supplied name

[0132] Show worst case state (active, should investigate, down) of all manageable stacks

[0133] Indicate number of hubs in each stack

[0134] Ability to drill-down on any active Mgmt card for more information on the stack

[0135] Show monitorable loops in each stack

[0136] Identification of all monitorable loops

[0137] user supplied name

[0138] Show current state (active, should investigate, down) of all monitorable loops

[0139] Indicate number of nodes on loop

[0140] Ability to drill-down on any loop for more loop information

[0141] Some future requirements are:

[0142] Indicate primary In-band management links

[0143] NOT just using thickness of connection

[0144] Indicate secondary In-band management links

[0145] Display In-band Magician management stations

[0146] Future devices

6.2 Single Stack View

[0147] This view will show all the hubs in a selected stack but will not necessarily reflect the physical ordering of the hubs. This logical stack configuration will show any cascaded hubs and their associated ports within the stack. Cascading of the hubs allows multiple hubs access to the same loop and within a stack of hubs, it is possible to have one or more loops configured in the stack. Each port on a hub can be attached to a node, a loop of nodes such as a JBOD, or an unmanaged hub.

[0148] The requirements for this view are:

[0149] Display manageable hubs in stack selected

[0150] Indicate which hub has the active Mgmt card

[0151] Show worst case state of ports for each displayed hub

[0152] Display identification of each hub

[0153] serial #

[0154] Indicate presence of Mgmt card in any hub, active or slave

[0155] Display identification of all Mgmt cards present

[0156] MAC

[0157] IP

[0158] user supplied name

[0159] Show hub cascades

[0160] Indicate connections outside of managed stack

[0161] If another hub, allow drill-down of stack

[0162] Clouds=other things with>1 ALPA

6.3 Loop View

[0163] Within a loop, it is possible to have one or more stacks configured in the loop. Each port on a hub can be used to attach another hub, cascaded, into a single loop or each hub can be its own isolated loop or any other combination of hub connections as long as there is no more than one loop per hub. Each port on a hub can also be attached to an unmanaged device such as a JBOD. This view will show the logical managed loop topology of the selected loop.

[0164] The requirements for this view are:

[0165] Show all manageable/known? items in loop selected

[0166] hubs

[0167] clouds=JBOD, rest of loop, other things with>1 ALPA

[0168] label unmanaged hub cloud?

[0169] Indicate which hub has the active Mgmt card

[0170] Show worst case state of ports for each displayed hub

[0171] Display identification of each hub

[0172] serial #

[0173] Indicate presence of Mgmt card in any hub, active or slave

[0174] Display identification of all Mgmt cards present

[0175] MAC

[0176] IP

[0177] name

[0178] Display any loop info available

[0179] throughput

[0180] # of link up/link down

[0181] # of ARBs

[0182] registration

[0183] Display node info per port

[0184] ALPA list

[0185] user supplied name

[0186] user supplied WWN

[0187] user supplied device type

[0188] user supplied manufacturer

[0189] user supplied location

6.4 MGMT Card View

[0190] This view should give all pertinent info for a selected management card and provide mechanisms to modify the configuration of the selected Mgmt card.

[0191] The requirements for this view are:

[0192] Display Mgmt card identification information

[0193] MAC

[0194] IP

[0195] HW revision

[0196] FW revision

[0197] Indicate state of Mgmt card

[0198] Allow user to force this Mgmt card to be active

6.5 Hub View

[0199] This view will provide status and control information about each hub in a managed stack or loop and will provide mechanisms to modify the configuration of each hub.

[0200] The requirements for this view are:

[0201] Display manageable hub features intuitively

[0202] Indicate port status of all ports using color

[0203] Show LED states and interpret

[0204] port

[0205] management

[0206] management card present

[0207] management card OK

[0208] management card master

[0209] Ethernet activity

[0210] enclosure monitoring/system

[0211] power supply status

[0212] loop up

[0213] enclosure fault

[0214] uC fault

[0215] Display type of GBIC or none per port

[0216] Display Mgmt card if present and identify

[0217] MAC

[0218] IP

[0219] name

[0220] Display serial # of hub

[0221] Allow multiple port views to be displayed

[0222] Display node info per port

[0223] ALPA list

[0224] user supplied name

[0225] user supplied WWN

[0226] user supplied device type

[0227] user supplied manufacturer

[0228] user supplied location

6.6 Port View

[0229] This view will allow the user to access all manageable features at the port level.

[0230] The requirements for this view are:

[0231] port control

[0232] enable auto insert/bypass if detect fault—loss of signal, loss of lock or transmitter fault (default) OR

[0233] force loop bypass

[0234] force external loopback, will force loop bypass OR

[0235] a force insertion on loop

[0236] port status

[0237] port control state

[0238] enable auto insert/bypass

[0239] force bypass

[0240] external loopback

[0241] force insert into loop

[0242] port module ID copper/fiber(SW,LW) 3 bit GBIC spec id. TABLE 6.6-1 Bits 2:0 Definition 111 No Module Present 110 Copper Module, DB-9 Connector 101 Copper Module, HSSDC Connector 100 Long-wave Laser 011 Serial Interface Protocol 010 Short-wave Laser 001 To Be Defined 000 Gigabit Ethernet

[0243] TABLE 6.6-2 Logic Inputs GBIC Mod_(—) TX_(—) Rx_(—) Status Link_FIt Pres Fault signal Green Amber Description F X X OFF OFF Module not inserted T T X OFF ON Faulty Module T F F ON ON Module OK; Missing or Corrupt Data T F T ON OFF Normal Operation

7. GUI Design

[0244] The goal of the GUI is to present this functionality in an intuitive and user-friendly package. The primary techniques that will be employed in accomplishing this goal are:

[0245] a hierarchical presentation with drill-down capabilities starting with the stack manager at the highest level and drilling down to the individual port level

[0246] logical topologies using icons that are easily identifiable

[0247] color coding to indicate health for quick problem detection and isolation

[0248] gray=unused

[0249] green=everything is functional

[0250] yellow=needs attention (should be investigated)

[0251] red=failure

[0252] user labeling of all devices

[0253] readily available “how-to use this window” information

[0254] a consistent window interface

[0255] flyover with high-level info on item

[0256] single click=more detailed info on item

[0257] double click=drill-down if available

[0258] a “How to use this window” button

[0259] a “Text/GUI” display toggle button

[0260] comprehensive Help system

[0261] cursor indication of selectable items

[0262] The major design divisions in the application are as follows:

[0263] Views

[0264] Data Objects

[0265] Data Acquirement

[0266] Health Determination

[0267] Management API

[0268] Mgmt API/SNMP mapping wrappers

[0269] SNMP Interface

[0270] Internationalization/Localizability

[0271] Event Log

7.1 Views

[0272] There are natural partitions in the information we want to present. The device management is focused on physical devices and the problem detection and isolation is focused on the current state of a loop and the connections to it. In presenting the manageable stacks there is a natural hierarchy: stacks, Mgmt cards, hubs, ports. In presenting information for loop states the hierarchy is: loops, Mgmt cards, hubs, ports.

[0273] The proposed hierarchical presentation will drill-down as follows:

[0274] Site view—all manageable stacks and loops

[0275] Single Stack view

[0276] Mgmt card view

[0277] Back of box view

[0278] Mgmt card view

[0279] Port detail view

[0280] Hardware debug view

[0281] Loop view

[0282] Mgmt card view

[0283] Back of box view

[0284] Mgmt card view

[0285] Port detail view

[0286] Hardware debug view

[0287] The hierarchical presentation will drill-down graphically, as depicted in FIG. 24 by a diagram that is generally indicated by the reference number 480. Magician will display status and control information about each hub in a managed stack or loop by clicking on a hub from the Stack View (see FIG. 11) or Loop view (see FIG. 25) and will provide mechanisms to modify the configuration of each hub.

[0288] A polling or change mechanism will be required to keep the views in sync with the data. For Apprentice, a simple redraw of objects will be used. It still needs to be determined the extent of change management that should be implemented for Magician.

7.1.3 Loop View

[0289] Referring to FIG. 25, a Loop View is generally indicated by the reference number 500. The Loop View will be a tree structure type view. It is intended that the user will be able to “build their own loops” by dragging and dropping hubs into a loop root.

7.1.4 Hub View

[0290]FIG. 26 is similar to previously described FIG. 12, however, FIG. 26 illustrates another Hub View for Stack 2, Hub 1 generally indicated by the reference number 520. FIG. 27 illustrates still another Hub View for Stack 2, Hub 3 generally indicated by the reference number 540.

7.1.5 MGMT View

[0291]FIG. 28 illustrates a management view generally indicated by the reference number 560.

7.1.7 Hardware Debug

[0292]FIG. 29 illustrates a first hardware debug view which is generally indicated by the reference number 580. In this view, a “Ports” tab 582 has been selected.

[0293]FIG. 30 illustrates hardware debug view 580 with a “Hub” tab 584 selected.

[0294]FIG. 31 illustrates hardware debug view 580 with a “Loop” tab 586 selected.

[0295]FIG. 32 illustrates hardware debug view 580 with a “Stack” tab 586 selected.

[0296]FIG. 33 illustrates hardware debug view 580 with an “Agent” tab 588 selected.

[0297] It is noted that the “Detect” tab in FIGS. 29-33 has been replaced by a “Sweep” tab having the same functionality. Selection of this sweep tab brings up Hub Sweep View 260 of FIG. 14, described above.

7.2 Data Objects

[0298] There is also a natural hierarchy of objects in the system we will be handling. The primary objects identified are:

[0299] lobes: loop nodes, hubs, clouds

[0300] ports

[0301] mgmt cards

[0302] hubs

[0303] stacks=active mgmt cards

[0304] loops

[0305] site

[0306] Referring to FIG. 34, a data object composition chart is generally indicated by the reference number 600. Each object identified has state and control information associated with it. The state information maps into Visual Basic properties and the controls map into Visual Basic methods as follows:

[0307] Cloud

[0308] Properties[val Types]

[0309] ALPAs

[0310] Graphic

[0311] Node

[0312] Properties[val Types]

[0313] Name

[0314] WWW

[0315] Location

[0316] DeviceType

[0317] Manufacturer

[0318] Graphic

[0319] Lobe

[0320] Properties[val Types]

[0321] Length

[0322] Type [none, unknown, node, hub]

[0323] ID

[0324] ConnectObject

[0325] Port

[0326] Properties[val Types]

[0327] ControlState[auto, bypass, extloopback, insert]

[0328] BeaconState [Boolean]

[0329] TransmitterState [Boolean]

[0330] ModuleID [GbEther, TBD, LaserSW, Serial, LaserLW, CopperHSSDC, CopperD9, NoModule]

[0331] GBICLED [Boolean]

[0332] FaultLED [On, Off, Blink]

[0333] State [inserted, bypassed, TxFault]

[0334] PllLock[True, False]

[0335] LobeObject

[0336] Utilization

[0337] FailoverPort

[0338] TimesInserted

[0339] Health

[0340] DeviceID

[0341] Graphic

[0342] Methods(args)

[0343] Beacon (Boolean)

[0344] Control (Auto, Bypass, Loopback, Insert)

[0345] Transmitter (Boolean)

[0346] FailoverPortSet

[0347] UpdateInfo

[0348] GetHealth

[0349] SetVars(deviceID, vars, vals)

[0350] RecvVars(deviceID, vars, vals)

[0351] Class_Initialize

[0352] Mgmt

[0353] Properties[val Types]

[0354] State [active, passive, maintenance, unknown]

[0355] FailoverPriority[0 . . . 7]

[0356] MAC

[0357] IP

[0358] SelftestOK [Boolean]

[0359] HardwareVersion

[0360] FirmwareVersion

[0361] LanActivity [Boolean]

[0362] EventLog

[0363] Password

[0364] SyslogHost

[0365] Name

[0366] Health

[0367] DeviceID

[0368] Graphic

[0369] Methods(args)

[0370] FailoverPrioritySet

[0371] PasswordSet

[0372] IpSet

[0373] ForceActive

[0374] EventFilter

[0375] SyslogHostSet

[0376] Reset

[0377] UpdateInfo

[0378] GetHealth

[0379] SetVars(deviceID, vars, vals)

[0380] RecvVars(deviceID, vars, vals)

[0381] Class_Initialize

[0382] Hub

[0383] Properties[val Types]

[0384] FanFault [Boolean]

[0385] TempFault [Boolean]

[0386] PowerFault [Boolean]

[0387] uCFault [Boolean]

[0388] SerialNumber

[0389] Family

[0390] HWType

[0391] NumPorts

[0392] FWVersion

[0393] ManagementPresent [Boolean]

[0394] DiagPort

[0395] PortsObject

[0396] MgmtObject

[0397] LoopObject

[0398] Health

[0399] DeviceID

[0400] Graphic

[0401] Methods(args)

[0402] DiagnosPort

[0403] Reset(I2C, ports)

[0404] UpdateInfo

[0405] GetHealth

[0406] SetVars(deviceID, vars, vals)

[0407] RecvVars(deviceID, vars, vals)

[0408] Class_Initialize

[0409] Loop

[0410] Properties[val Types]

[0411] ID

[0412] State [initializing, open-init, loop up, loop active]

[0413] ALPAs

[0414] UpTime

[0415] TimesReset

[0416] Utilization

[0417] HubsObject

[0418] Health

[0419] DeviceID

[0420] Graphic

[0421] Methods(args)

[0422] Reset

[0423] UpdateInfo

[0424] GetHealth

[0425] SetVars(deviceID, vars, vals)

[0426] RecvVars(deviceID, vars, vals)

[0427] Class_Initialize

[0428] Stack

[0429] Properties[val Types]

[0430] ID

[0431] HubsObject

[0432] LoopsObject

[0433] Health

[0434] DeviceID

[0435] Graphic

[0436] Methods(args)

[0437] Reset

[0438] UpdateInfo

[0439] GetHealth

[0440] SetVars(deviceID, vars, vals)

[0441] RecvVars(deviceID, vars, vals)

[0442] Class_Initialize

[0443] Site

[0444] Properties[val Types]

[0445] EventLog

[0446] AgentsObject

[0447] StacksObject

[0448] Icon

[0449] Health

[0450] DeviceID

[0451] Graphic

[0452] Methods(args)

[0453] UpdateInfo

[0454] GetHealth

[0455] SetVars(deviceID, vars, vals)

[0456] RecvVars(deviceID, vars, vals)

[0457] Class_Initialize

7.3 Data Acquisition

[0458] A polling mechanism will be employed to obtain current relevant information, which will update the information available for each object. The attributes of the poll mechanism are:

[0459] Poll Interval

[0460] 1 min=Default

[0461] This should be user adjustable.

[0462] Amount of data acquired:

[0463] Apprentice only requires a simple “poll all” mechanism,

[0464] Magician might need a more intelligent poll using the event log as a back-off mechanism due to too high of IP loading for a complete data poll on every poll interval. The back-off mechanism will be further defined when the event log definition is stable. The preliminary algorithm concept is:

[0465]

request active mgmt ID info from all communicating mgmt cards (active or passive)

[0466]

request ALL info from active mgmt cards active mgmt=stack

[0467]

poll event logs from all active mgmt cards

[0468]

if change in event log get pertinent data

[0469] Another option for minimizing the impact of the poll mechanism is to break requests into chunks instead of requesting all data at once.

[0470] Type of poll

[0471] Apprentice will have a blocking poll

[0472] Magician will have an asynchronous poll provided by the PowerTCP SNMP package

[0473] The functionality will be implemented by using Timer objects. The ability to refresh object information will be provided consistently and generically by each object having its own UpdateInfo method.

7.4 Health Determination

[0474] Here is the color coding map to indicate health for problem detection and isolation

[0475] gray=Unused

[0476] green=everything is Functional

[0477] yellow=needs Attention (should be investigated)

[0478] red=Failure

[0479] Each of the following objects will have a health indicator that will have an affect on the next level object above it.

[0480] ports

[0481] Unused

[0482] Default

[0483] Functional

[0484] GBICLED=on & FaultLED=off

[0485] Attention

[0486] ControlState!=auto

[0487] State=bypassed

[0488] Failure

[0489] ModuleID!=NoModule & GBICLED=off

[0490] TransmitterState=off

[0491] FaultLED=on

[0492] ControlState=insert & State!=inserted

[0493] mgmt (must be present)

[0494] Unused

[0495] State=passive

[0496] Functional

[0497] State=active & SelftestOK=true & LanActivity=true

[0498] Attention

[0499] State=maintenance

[0500] State!=active & LanActivity=false

[0501] Failure

[0502] State=unknown

[0503] SelftestOK=false

[0504] State=active & LanActivity=false

[0505] hubs

[0506] Unused

[0507] Never

[0508] Functional

[0509] Default

[0510] Attention

[0511] mgmt.health=attention|ports.health=attention

[0512] Failure

[0513] mgmt.health=failure|port.health=failure

[0514] FanFault=true

[0515] TempFault=true

[0516] PowerFault=true

[0517] uCFault=true

[0518] loops

[0519] Unused

[0520] Never

[0521] Functional

[0522] Attention

[0523] Failure

[0524] State!=loopUp|loopActive

[0525] stacks

[0526] Unused

[0527] Never

[0528] Functional

[0529] Default

[0530] Attention

[0531] hubs.health=attention

[0532] Failure

[0533] hubs.health=failure

[0534] site

[0535] Unused

[0536] Never

[0537] Functional

[0538] Default

[0539] Attention

[0540] hubs.health=attention|loops.health=attention

[0541] Failure

[0542] hubs.health=failure|loops.health=failure

[0543] This functionality will be consistently and generically implemented by each object having its own GetHealth method.

[0544] One skilled in the art may devise many alternative configurations for the systems and methods disclosed herein. Therefore, it should be understood that the present invention may be embodied in many other specific forms without departing from the spirit or scope of the invention and that the present examples and methods are to be considered as illustrative and not restrictive, and the invention is not to be limited to the details given herein, but may be modified within the scope of the appended claims. 

1-57. (canceled)
 58. In a Fibre Channel system configured for interconnection of a plurality of stations as part of a digital system using a main loop such that digital data flows between the stations on the main loop through a Fibre Channel hub based on operational status of the system, said Fibre Channel hub being configured for interconnection of said stations using a series of ports which interface with said main loop, each station being removably receivable in one of said ports such that each one of said stations is selectively insertable in the main loop via the ports to cause said digital data to flow through the stations and such that each one of the stations is selectively and individually bypassable with respect to the main loop while the station is received in one of the ports to prevent said digital data from flowing through each of the stations, the improvement comprising: an arrangement forming part of the hub and part of at least one selected station configured for sending a set of loop-back test data from the selected station to the hub when the selected station is received in one of the ports and, thereafter, looping the set of loop-back test data back to the selected station in a loop-back mode in a way which confirms operation of the selected station using the port into which the selected station is received and which also confirms the operation of at least a portion of said hub.
 59. The arrangement according to claim 58 further configured for entering said loop-back mode at least after a new station has been initially received in one of said ports.
 60. The arrangement according to claim 58 further configured to operate in said loop-back mode using diagnostic means connectable at points within the hub and between at least two different pairs of the stations for monitoring certain characteristics of said set of loop-back data in a way which provides for non-invasive confirmation of the operation of said portion of the hub and of the operation of the port into which the selected station is received.
 61. The arrangement according to claim 60 wherein said diagnostic means includes a diagnostics loop separate from the main loop and connected between the stations and further includes analysis means, said diagnostics loop being configured for selectively copying the set of loop-back data from one of said points on the main loop at a time and, thereafter, for transmitting the copied digital data to said analysis means.
 62. The arrangement according to claim 58 wherein said arrangement is configured for initially maintaining a received station in a bypassed condition with respect to said main loop during said loop-back mode while verification of certain aspects of the operation of the inserted station is performed whereby connection of a defective received station with the main loop is prevented.
 63. In a Fibre Channel system configured for interconnection of a plurality of stations as part of a digital system using a main loop such that digital data flows between the stations on the main loop through a Fibre Channel hub, said Fibre Channel hub being configured for interconnection of said stations using a series of ports interfaced with said main loop, each station being removably receivable in a respective one of said ports such that each one of said stations is selectively insertable in the main loop when received in one of the ports to cause said digital data to flow through the stations, a method of inserting a selected station in the main loop, said method comprising the steps of: a) positioning the selected station as being received in an available one of the ports; b) maintaining the selected station disconnected from the main loop; c) while the selected station is disconnected from the main loop, performing an external loop-back test which verifies integrity of the selected station; and d) connecting the selected station to the main loop only after the integrity of the selected station has been verified using the external loop-back test.
 64. The method according to claim 63 including the step of providing a notification in a predetermined way if the selected station is not connected to the main loop within a specified period of time following insertion of the selected station into the available port.
 65. The method according to claim 64 wherein said notification is provided at a remote location with respect to said Fibre Channel hub. 66-97. (canceled)
 98. In a Fibre Channel system which interconnects a plurality of stations in a loop using an unmanaged hub as part of a digital system such that digital data flows between the stations on the loop and through the unmanaged hub based on operational status of the system, the system further including an additional hub connected with the unmanaged hub in a predetermined way such that additional stations may be added to the loop by connection with the additional hub and so that said digital data also flows through the additional hub, the improvement comprising: a management arrangement forming part of the additional hub for monitoring said digital data in a way which provides determinations as to certain conditions related to the operation of the Fibre Channel system including the unmanaged hub and stations connected thereto.
 99. The improvement according to claim 98 wherein said determinations relate to utilization of at least a portion of the main loop.
 100. The improvement according to claim 99 wherein the portion of the main loop to which said determinations relate is at least partially extends through the unmanaged hub.
 101. The improvement according to claim 99 wherein said arrangement is configured for generating display information based on said determinations.
 102. The improvement according to claim 98 wherein said arrangement uses ordered set detection in making said determinations. 103-118. (canceled)
 119. In a Fibre Channel system which interconnects a plurality of stations in a loop using at least a first hub as part of a digital system such that digital data flows between the stations on the loop and through the hub or hubs based on operational status of the system, each station being configured such that, upon receipt of a LIP F7 ordered set, the station will transmit a burst of LIP F7 followed by 15 ms of idle characters, a method of identifying an unknown hub requesting insertion in the loop, said method comprising the steps of: a) transmitting one burst of LIP F7 from the first hub to the unknown hub; b) within 15 ms of ending transmission of the LIP F7 burst, transmitting on the loop an ARB FB from said first hub; c) if the ARB FB returns to the first hub, requesting identification information from the unknown hub using said loop; and d) if the unknown hub responds to the information identification request, using the first hub to receive a predetermined set of identification information from the unknown hub.
 120. The method according to claim 119 wherein said step of requesting identification from the unknown huh is performed using ordered sets prior to insertion of the unknown hub.
 121. The method according to claim 119 wherein said identification information is a serial number assigned to the unknown hub.
 122. In a Fibre Channel system which interconnects a plurality of stations in a loop using at least a first hub as part of a digital system such that digital data flows between the stations on the loop and through the hub or hubs based on operational status of the system, each station being configured such that, upon receipt of LIP F7, the station will transmit a burst of LIP F7 followed by 15 ms of idle characters, a method of identifying an unknown station requesting attachment to the loop, said method comprising the steps of: a) transmitting one burst of LIP F7 from the first hub to the additional hub; b) within 15 ms of ending transmission of the LIP F7 burst, transmitting on the loop an ARB FB from said first station; and c) if the ARB FB does not return to the first station, providing an indication that the unknown station is an attaching station. 123-126. (Cancelled) 